package com.maiji.cloud.mapper;

import java.util.List;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.maiji.cloud.response.login.FoodTypeResData;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import com.maiji.cloud.entities.login.FoodMaterialTypeLable;

@Mapper
public interface FoodMaterialTypeLableMapper extends BaseMapper<FoodMaterialTypeLable> {

	/**
	 * 
	 * @param parentId
	 * @return
	 */
	List<FoodMaterialTypeLable> selectListByParentId(@Param("parentId")String parentId);

	/**
	 * 
	 * @param id
	 * @return
	 */
	FoodMaterialTypeLable selectListById(@Param("id")String id);

    List<FoodTypeResData> findAllFoodTypes ();

}
